package homework19;

import java.time.LocalDate;


public class ColaEmployee {
    String name;
    LocalDate birthday;

   int getSalary(int month) {
       if(month==birthday.getMonthValue())
       { System.out.println("本月多发100");
           return 1;
       }

       return 0;
    }

    public ColaEmployee(String name,  LocalDate birthday) {
        this.name = name;
        this.birthday = birthday;
    }

    public ColaEmployee() {
    }
}
